package cn.edu.zafu.bigdata.x.yaojy;
import java.util.HashMap;

public class TestStudentGradeManager {
    public static void main(String[] args) {
        StudentGradeManager stu = new StudentGradeManager();

        stu.addStudent("张三",98);
        stu.addStudent("李四",65);
        stu.addStudent("王五",77);

        System.out.println("张三的成绩是：" + stu.getGrade("张三"));
        System.out.println("李四的成绩是：" + stu.getGrade("李四"));
        System.out.println("王五的成绩是：" + stu.getGrade("王五"));

        stu.removeStudent("王五");
        System.out.println("王五的成绩是：" + stu.getGrade("王五"));

    }
}
